package com.ctgu.demo03.service;

import com.ctgu.demo03.entity.StocksEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ctgu.demo03.utils.ApiResult;

/**
* @author Alex2
* @description 针对表【t_stocks】的数据库操作Service
* @createDate 2025-03-12 08:50:13
*/
public interface StocksService extends IService<StocksEntity> {

    ApiResult insertStock(String name, Integer stock);

    ApiResult fetchVoucher(Integer id);

    boolean updateStock(Integer id);
}
